package com.cn.dao;

import com.cn.domain.User;

public interface UserDao {

	public User getUserByUserName(User u);
	
	public void save(User u);
	
	public User getUserByUserName(String name);
	
	public User getUserByActiveCode(String activecode);
	
	public void updateActive(int id,int isactive);
	
	//public User getUserByUserId(int id);

	public void updateUser(User user);
}
